package com.yidu.mt.service;

import com.yidu.mt.controller.vo.MtUserVo;
import com.yidu.mt.domain.MtUser;
import org.apache.ibatis.annotations.Param;

public interface LogAndRegService {

    int deleteByPrimaryKey(Integer userId);

    int insert(MtUserVo record);

    int insertSelective(MtUser record);

    MtUser selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(MtUser record);

    int updateByPrimaryKey(MtUser record);

    /**
     * 查询用户名密码是否存在
     * @param userName
     * @param userPassword
     * @return
     */
    int selectCountNameAndPassword(@Param("userName") String userName, @Param("userPassword") String userPassword);



}
